Rfid receiver

ABSTRACT

RFID data signals from RFID tags may be recovered by determining the probabilities of transitions between data states between a series of a pairs of signal samples using a set of predetermined probabilities related to data, timing, baud rate and/or phase variables affecting the received signal and processing those determined probabilities to determine the sequence of such transitions that has the highest probability of occurrence. A second set of predetermined probabilities related to transitions in the opposite direction may be used to sequence in a reverse direction. The determination of the sequence representing the RFID tag data may be iterated in both directions until further iterations do not change the determined probabilities.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No. 12/603,027 filed Oct. 21, 2009, which application was a continuation of U.S. application Ser. No. 11/553,951 filed Oct. 27, 2006, which claimed priority to U.S. provisional application Ser. No. 60/731,629 filed Oct. 28, 2005.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention is related to transmitter—receiver systems and in particular is related to systems for the detection of signals in difficult environments such as for use in sensory networks and Radio Frequency Identification (RFID) systems.

2. Description of the Prior Art

The detection of signals in difficult environments, such as where the signal to noise ratio is very low and/or the interference from other signals is very high, has always been a substantial problem. In many systems today classical detection theory is used in digital transceivers. In these systems the bit stream embedded in information bearing signal is detected one-bit at a time using a “matched filter” designed to match the signal waveform at the input of the receiver.

What is needed is a robust and powerful method for the detection of extremely weak signals with severe phase and timing ambiguities due to the source characteristics and propagation environment. The proposed system has a substantial superior performance than the classical signal detector.

SUMMARY OF THE INVENTION

In a first aspect, a method for operating an RFID receiver may include sampling a received signal including RFID data signals from at least one interrogated RFID tag, providing a set of predetermined probabilities of a received signal sample making a specific transition between data states, each predetermined probability related to data, timing and baud rate variables affecting the received signal, applying the set of predetermined probabilities to each of a plurality of pairs of signal samples to determine probabilities of the received signal having made the specific transitions between each of the signal samples in that pair and processing the determined probabilities to recover RFID data signals by determining a sequence of transitions in the received signal having the highest probability of occurrence.

The predetermined probabilities may also be related to a phase variable affecting the received signal. The applying the set of predetermined probabilities, and the processing the determined probabilities, may be iterated to recover the RFID data signals. The set of predetermined probabilities may be related to transitions in a first direction. A second set of predetermined probabilities related to transitions in an opposite direction may be provided and applied to each of the plurality of pairs of signal samples to determine second probabilities of the received signal making the specific transitions between each of the signal samples in that pair in the opposite direction and the first and second determined probabilities may be processed to recover the RFID signals. Applying the first and second set of predetermined probabilities, and the processing the first and second determined probabilities, may be iterated to recover the RFID data signals. The applying and processing may be iterated until further iterations do not further change the determined probabilities.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a simplified block diagram of an RF transmitter-receiver system and passive sensor.

FIG. 2 a is a simplified block diagram of an end-to-end communication system of the type shown in FIG. 1.

FIG. 2 b is a model of a SISO implementation of the system shown in FIG. 2 a.

FIG. 3 is a diagram of a SISO decoder as a 4-Port Device.

FIG. 4 is a block diagram of SISO processing with interleaving and de-interleaving.

FIG. 5 is an illustration of Quantized Phase Space.

FIG. 6 is an illustration of Quantized Time Domain.

FIG. 7 is an illustration of Example of Trellis Diagram.

FIG. 8 a is an illustration of a Single State Trellis Transition

FIG. 8 b is an illustration of a Trellis Section.

FIG. 9 is a block diagram of Single Parity Check Code (SPC).

FIG. 9 a is block diagram illustrating a permutation.

FIG. 9 b is a block diagram of an RFID SISO Decoder.

FIG. 9 c represents the detailed operation of a SISO decoder for repetition code.

FIG. 9 d illustrates the operation of a SISO decoder for SPC.

FIG. 10 is a block Coherent SISO Decoder.

FIG. 11 is a block Non-Coherent SISO Decoder.

FIG. 12 a illustrates a block Cascaded Non-Coherent.

FIG. 12 b illustrates a Coherent SISO Decoder.

FIG. 13 a is a block diagram of an RFID System.

FIG. 13 b is a block diagram of a reader/interrogator of FIG. 13 a.

FIG. 14 a is block diagram of FM0 encoder for RFID applications.

FIG. 14 b is block diagram of Miller encoder for RFID applications.

FIG. 15 a is a block diagram of classical coherent detector.

FIG. 15 b is a block diagram of classical non-coherent detector.

FIG. 15 c is a block diagram of a multiple symbol non-coherent detector.

FIG. 15 d illustrates the operation of the multiple symbol non-coherent detector of FIG. 15 c.

FIG. 16 shows a trellis diagram for FM0 and Miller code.

FIG. 17 shows a bit error rate as function of signal-to-noise ratio.

FIG. 18 shows a first method for a timing trellis section for pulses with time varying duration.

FIG. 19 shows timing tick marks for the method FIG. 18.

FIG. 20 shows a second method using a folded timing trellis for pulses with time varying duration.

FIG. 21 shows a tree diagram with three transitions per node.

FIG. 22 shows an example of a symbol tree structure method 3 for N=4, and Δmax=1.

FIG. 23 shows an example of symbol tree with windowed structure method 3 for N=4, and Δmax=1.

FIG. 24 shows a SISO implementation: Intermediate metric variable computation.

FIG. 25 shows a SISO implementation: Interconnect of node processors and branch select units.

FIG. 26 shows a SISO implementation: Extended parallel source node processing.

FIG. 27 shows a Forward and Backward processor.

DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT

Receiver subsystems may provide enhanced detection of signals where some latency may be tolerated, particularly for use in sensory networks and passive Radio Frequency Identification (RFID) based systems. Such systems may use iterative processing techniques with soft-input-soft-output (SISO) components to combine channel decoding with equalization, demodulation, phase tracking, symbol timing and synchronization and interference cancellation. This is achieved with exchange of probabilities or “soft information” or equivalently the probability of correct detection of transmitted symbols based on the observed vector, at any given state of a finite state machine (FSM) which models the observation space. The evolution of FSM in time domain results into a planar graph referred to here as the “Trellis”. In the presence of additive white Gaussian noise (AWGN) with random phase and timing, the performance of the receiver using SISO approaches that of an ideal coherent receiver. In the presence of other channel anomalies such as multipath, fading and jamming, the performance gain is much greater than conventional systems. The SISO decoders described here can also be used for applications where serial or parallel concatenated channel coding methods is employed.

The system disclosed herein may use iterative algorithms that can be applied to a broad range of sensory class of signals and waveforms. Iterative processing techniques with soft-input-soft-output (SISO) components may be used to combine channel decoding with equalization, demodulation, phase tracking, symbol timing and synchronization and interference cancellation. This is achieved with exchange of probabilities or “soft information”. When the transmitted sequence is produced from a binary symmetric source (BSS) and in presence of additive white Gaussian noise (AWGN), channel distortion, random phase and synchronization error, the performance of the receiver converges to the ideal coherent receiver for un-coded signal. In presence of other channel anomalies such as multipath, fading and jamming, the expected performance gain is much greater than conventional systems. The overall SISO decoders described here can also be used for applications where serial or parallel concatenated channel coding methods are employed.

Referring now to FIG. 1, transmission system 1-10 transmits a signal in forward channel 1-16, such as an RF channel, which is applied to sensor 1-14 which may be an RFID tag. The transmitted signal x(t) in forward channel 1-16 may be modeled as the real part of the complex transmitted signal, that is x(t)=Real[a(t)e^(j(ω) ^(c) ^(t+θ))] for tε+[nT_(sym),(n+1)T_(sym); where T_(sym) denotes the symbol time interval, a(t) may be complex or real-valued information bearing signal and θ denotes the phase of the transmitted signal during the symbol time. This phase can be time varying from symbol to symbol. In passive RFID tag applications, the transmitted and received waveforms are independent, however, the power transmitted from the tag 1-14 depends on the power of the signal from the reader and the tag efficiency to convert its received power to available transmit power back to the reader. In active sensors, the transmitted and received signals are typically mutually independent signals.

Transmission system 1-10 includes data source 1-2 of transmission system 1-10 is used to modulate transmitter 1-4. Antenna 1-5 applies the modulated signal through forward channel 1-16 to the sensor 1-14. Typically in RFID applications the transmitter 1-4 and the data source 1-2 form the interrogator or the reader in RFID networks. Data source 1-2 is used by the reader to embed an address and/or command sequence to the device such as RFID tag 1-14. In backscatter passive RFID tags, the transmitted signal may also embed a sinusoidal signal with a continuous waveform (CW), which may be used to supply power to passive RFID tag. RFID tag 1-14 may then respond back with a data sequence, based on the received command, through the air which is illustrated as the Return Channel 1-18. The main function of the receiver system 1-12 is to detect the data transmitted from the sensor 1-14, in presence of various distortions encountered in the return channel 1-18 such as multi-path and/or natural and man-made interference. Receiver system includes receiving antenna 1-7 which applies the signal received from RFID tag 1-14 to receiver 1-6. The detected data from receiver 1-6 may then be consumed by the user 1-8. In RFID applications the data user is the reader which passes the data to a higher layer protocol for interpretation of the received packet. For passive RFID tags, transmission system 1-10 and receiver system 1-12 may be referred to as “reader/interrogator” 1-13.

The underlying transmitter receiver pair, reader/interrogator 1-13, is shown in FIG. 1. The signal is transmitted over a communication channel with the impulse response h(t) and corrupted with additive white Gaussian noise (AWGN) n(t), the received signal y(t) is modeled as:

y(t)=x(t)*h(t)+n(t)  (1)

where ‘*’ represents the convolution operation.

Referring now to FIG. 2, an end-to-end communication system physical block diagram model 2-1 for a sensory signal is shown in FIG. 2 a and includes data source 2-2 which feeds the modulator in the transmitter 2-4. This signal is applied via forward channel 2-6 to sensor 2-8. Only in the case when the transmitted signal from sensor 2-8 is a partially amplified version of the original signal, the impulse responses is the composite impulse response of the forward and return channel, i.e., h_(f)(t)*h_(r)(t). In passive RFID applications, typically the tag may only use the signal from the reader to power itself. The return signal from the tag uses the backscatter modulation to modulate the electronic product code or a response back to the reader, in which case the channel impulse response is only limited to the return channel transfer function 2-10. The receiver 2-11 detects the incoming bit stream and outputs it to the user data 2-12.

In discrete time domain, we represent the sampled version of this complex received signal at time n as for the k^(th) packet or frame as an N-dimensional vector,

y _(k) =H _(k) x _(k) +n _(k)  (2)

Here y_(k) denotes the received complex vector with dimension N obtained from uniform sampling of the received signal complex signal (after down-conversion) as y(nT_(s)), where T_(s) denotes sampling interval, and the aggregate channel transfer function represented as

$\begin{matrix} {H = \begin{pmatrix} h_{1} & 0 & \ldots & 0 \\ 0 & h_{1} & h_{2} & \ldots \\ \vdots & 0 & \ddots & \vdots \\ 0 & 0 & 0 & h_{1} \end{pmatrix}} & (3) \end{matrix}$

Channel response matrix H may be real-or-complex valued constant, or belong to certain class of randomly distributed functions to model in-door or out-door multi-path channel response.

The sequence error probability may be minimized, which is equivalent to maximizing the a posteriori error probability conditioned on the sequence of observation. The estimated transmitted symbols are:

$\begin{matrix} {{\hat{a}}_{n} = {\underset{a_{n} \in \Psi}{\arg \; \max}{P\left( a_{n} \middle| y \right)}}} & (4) \end{matrix}$

where, Φ represents the input symbol alphabet.

By applying Bayes rule we have

$\begin{matrix} {{P\left( {a_{k} = \left. \alpha \middle| y \right.} \right)} = {\sum\limits_{{{\forall a} \ni a_{k}} = \alpha}{\frac{P\left( y \middle| a \right)}{P(y)}{{P(a)}.}}}} & (5) \end{matrix}$

If Φ={0,1} then let log likelihood ratio

$\begin{matrix} {{\Lambda_{1}\left( a_{n} \right)} = {\log {\frac{\Pr \left( {a_{n} = \left. 1 \middle| y_{k} \right.} \right)}{\Pr \left( {a_{n} = \left. 0 \middle| y_{k} \right.} \right)}.}}} & (6) \end{matrix}$

Using Bayes formula and eliminating Pr(y), we obtain reliability or “extrinsic” information

$\begin{matrix} {{{{\Lambda_{1}\left( a_{n} \right)} = {{\lambda_{1}\left( a_{n} \right)} + {\lambda_{2}\left( a_{n} \right)}}},{where}}{{\lambda_{1}\left( a_{n} \right)} = {\log \frac{\Pr \left( {\left. y \middle| a_{n} \right. = 1} \right)}{\Pr \left( {\left. y \middle| a_{n} \right. = 0} \right)}}}} & (7) \end{matrix}$

represents the “extrinsic information” and

${\lambda_{2}\left( a_{n} \right)} = {\log \frac{\Pr \left( {a_{n} = 1} \right)}{\Pr \left( {a_{n} = 0} \right)}}$

represents a priori log likelihood ratio (LLR) values. The sequence λ₁(a_(n)) is calculated in each iteration, and is the function of soft metric calculation block 4-8 shown in FIG. 4. In a SISO decoder, such as decoder 4-2 shown in FIG. 4, the a posteriori probability of each transmitted symbol may be computed and then subtracted from the reliability information to remove the influence of a priori information. The extrinsic information may then be fed back (and de-interleaved if channel encoding is used) for metric calculations for the next iteration, where:

$\begin{matrix} {{\lambda_{2}\left( a_{n} \right)} = {{{\Lambda_{2}\left( a_{n} \right)} - {{\overset{\sim}{\lambda}}_{1}\left( a_{n} \right)}} = {\log \frac{\Pr \left( {a_{n} = \left. 1 \middle| y \right.} \right)}{\Pr \left( {a_{n} = \left. 0 \middle| y \right.} \right)}}}} & (8) \end{matrix}$

where tilde (˜) denote values from the last decoding state. In presence of unknown random phase and timing, it may be necessary to consider the input and output joint probability distribution functions Pr(a,φ,τ|y) in which the optimization problem formulated in equation (4) becomes

$\begin{matrix} {\left( {{\hat{a}}_{n},\varphi_{n},\tau_{n}} \right) = {\underset{{({a_{n},\varphi_{n},\tau_{n}})} \in \Psi}{\arg \; \max}{P\left( {a_{n},\varphi_{n},\left. \tau_{n} \middle| y \right.} \right)}}} & \left( {8a} \right) \end{matrix}$

where, Φ represents set of all values that a_(n),φ_(n),τ_(n) can take.

Referring now to FIG. 2 b, in theoretical model 2-30, the performance of the overall RFID system may be enhanced by applying a simple and novel channel coding to the user data. This coding technique may include the use of an outer code 2-19, the interleaver 2-18 and a single parity check code 2-16, defined latter which is used to drive the modulation encoder over the channel. As an example, the outer code may be a repetition code (simply taking the input data of size M and repeating it q times where q>1). The input data of size M bits may be partitioned into N equal size subsequences each of size M/N. Each subsequence is copied (repeated) q times (for example say q=3) then permuted by non-identical interleavers each of size M/N, all repeated and permuted subsequences enter a single parity check (SPC) with Nq input and one output. The output sequence of SPC may be of size M/N. The call output sequence may be considered as a parity sequence. Note that for this example the interleaver 2-18 is plurality of interleavers that can be more than one. The N data subsequences and the parity sequence may then be multiplexed to generate a sequence of length M+M/N that enters the modulator encoder namely FM0, Miller, or any other modulator encoder used or to be used in the RFID system. It must be noted that 2-19, 2-18 and 2-16 are optional in the event it is desired to attain a coding gain in RFID systems.

The SISO decoder shown may be considered to be a device that maps an input sequence a to an output sequence c based on a finite state machine. If the coding scheme of 2-19, 2-18 and 2-16 is employed the SISO decoder will be designed to account for the outer code 2-19, interleaver 2-18, single parity code 2-16 and modulation encoder 2-14 when modeling the FSM for data encoder. The SISO decoder is embedded in the receiver 2-28. The outer code 2-19, the interleaver 2-18 and the single parity code 2-16 constitute a channel coding scheme that further takes advantage of SISO decoder for the receiver realization in 2-28. A possible method of the channel coding technique for RFID applications is to apply the channel coding method to the RFID tag's identifier prior to writing into its memory, for passive RFID tags types that are written only once and read many times. In the case of write and read many times RFID tags, the encoder (that is 2-19, 2-18 and 2-16) can be implemented in the tag, or the reader can pre-encode the desired stored information when writing into the tag. When the information is retrieved from the tag, that is when the reader reads the tag, the RFID tag transmits the stored information through channel 2-10 back to the reader. The coding gain is realized in this case by virtue of the structure of the stored information in the tag.

In addition, the SISO decoder may jointly estimate the state of the channel, random phase modeled as a complex multiplier in combiner 2-24. Timing offset, inherently present in any receiver subsystem and particularly in wireless systems, may be modeled in timing offset 2-26, with multi-path propagation characteristics. For channel model 2-22, a finite state machine may be used to represent the channel with memory as shown in channel matrix in equation (3).

Referring now to FIG. 3, a SISO decoder such as SISO decoder 3-2 can be viewed as a four-port device. The input to the SISO decoder 3-2 is the joint probability of channel output 3-10 and transmitted symbol sequence 3-8. The output of SISO decoder 3-2 is the joint probability of channel output 3-4 and transmitted symbol sequence 3-6. The input symbol a=(a_(k)) with kε

(

is the set of integers) drawn from a finite alphabet A={ã₁, ã₂, . . . , ã_(N)} with a-priori probability Pr(a). Let c=(c_(k)) and kε

is the sequence of output drawn from alphabet C={{tilde over (c)}₁, {tilde over (c)}₂, . . . , {tilde over (c)}_(N)} with a priori probability Pr(c). The SISO decoder 3-2 accepts at the input the sequence of probability distributions and outputs the sequences of probability distributions, namely: the input probabilities P_(k)(a; I) in 3-8, P_(k)(c; I) 3-8 3-10 and output probabilities P_(k)(a; O) 3-6, P_(k)(c; O) 3-4.

Referring now to FIG. 4, a SISO decoder 4-2 is illustrated for use when the proposed channel coding scheme is employed. The input to SISO decoder 4-2 is fed by computing equation (8), shown as the input to the de-interleaver 4-6. Input values of the de-interleaver 4-6 and the output of the interleaver 4-4 are the computed values from the last decoding iteration of the SISO decoder. The soft metric calculation may be performed by computing equation (7) in soft metric calculator 4-8 using the observed signal 4-9 and for a fixed phase value, timing and the channel state from step 4-10. The function and structure of the interleaver 4-4 and de-interleaver 4-6 is dictated by the repetition rate of the outer code and discussed below. At the end of each iteration the SISO decoder 4-2 outputs Λ₂(a_(n))s multiple outputs which may then be subtracted from the output of 4-6 and fed to the interleaver block 4-4 to compute the input metric for the next iteration, used in 4-10 and 4-8. This process may be repeated until the SISO decoder 4-2 converges, at which time the extrinsic information is output for decoding the output stream.

Recursive computation of these input and output joint probability distribution functions, namely: P_(k)(a; I), P_(k)(a; 0), P_(k)(c; 0) and P_(k)(c; I) may be made possible by modeling the received symbols as output from a discrete-time finite-state Markov process source. The state of the source at time t is denoted by S^(t) _(θ), and its output by Y. A state sequence of the source extending from time t to t′ is made possible based on the underlying finite state machine model. The corresponding output forms a first order Markov chain, i.e.,

Pr(S _(θ) ^(t+1) |S _(θ) ^(t) ,S _(θ) ^(t−1) , . . . ,S _(θ) ¹)=Pr(S _(θ) ^(t+1) |S _(θ) ^(t))  (9)

Referring now to FIG. 5, for the purpose of phase sequence estimation and open loop tracking, the phase space may be quantized into Q^(φ) equally spaced intervals and denoted as:

$\begin{matrix} {\Theta^{\varphi} = \left\{ {0,\frac{\pi}{M},\frac{2\pi}{M},\ldots \mspace{14mu},\frac{\left( {M - 1} \right)2\pi}{M}} \right\}} & (10) \end{matrix}$

The phase sequence can be modeled as a random walk around the unit circle, that is a Markov process: φ_(n)=φ_(n)+Δφ mod 2π, where φ_(n)εΘ^(φ) and Δφ can be modeled as discrete random variable taking values in the quantized phase space from a known probability density function (i.e., quantized Gaussian, Tikhanov or etc.). The probability of such a phase transition may be denoted as p_(ij).

The M distinct states of the Markov source are indexed by the integer m, m=0, 1, . . . , (M−1) with probability transition matrix:

$\begin{matrix} {{P = \begin{pmatrix} p_{11} & p_{12} & \ldots & p_{1M} \\ p_{21} & p_{22} & \; & \vdots \\ \vdots & \; & \ddots & \; \\ p_{M\; 1} & p_{M\; 2} & \; & p_{MM} \end{pmatrix}}{Where}{{\sum\limits_{i = 1}^{M}p_{ij}} = 1}{and}{{p_{ij} = p_{ji}},}} & (11) \end{matrix}$

i.e., matrix is symmetric and doubly Markov.

Referring now to FIG. 6, the symbol duration Q^(τ) may be quantized into equally spaced intervals for time and synchronization. The timing space may be represented as:

Θ^(τ)={τ,±2τ,±3τ, . . . }  (12)

Let:

$\gamma = \left\{ {\overset{V}{\bigcup\limits_{i = 1}}\left( {t \in \left\lbrack {{{nT}_{sym} \pm {\tau}},{{\left( {n + 1} \right)T_{sym}} \pm {\left( {i + 1} \right)\tau}}} \right)} \right)} \right\}$

represent the ensemble of all possible symbol timing intervals where V is the cardinality of the set of i such that

${\; {{nT}_{sym} \pm {\tau}}} < {\frac{\left( {{nT}_{sym} - {\left( {n + 1} \right)T_{sym}}} \right)}{2}.}$

Then J represents any member of set γ, i.e., Jεγ.

For assigning the transition probability matrix P for phase tracking, it is possible to use the classical theory of phased-lock-loops where distribution of state phase error and clock stability from the oscillator can be computed or estimated. Thus matrix P and can be pre-computed based on a single transition probability from one timing state to another. For assigning the transition probability matrix P for symbol timing, a geometric distribution can also be used (i.e.,

$\frac{\partial}{M^{n}}$

where ∂ a is a constant such that

$\left. {{\sum\limits_{n = 1}^{M}\frac{\partial}{M^{n}}} = 1} \right).$

Assuming the channel impulse response length of L, at each time instance k=1, 2, . . . , N the state of the channel is a random variable with the property of the memory present in the system that, given Sk, the state Sk+1 can only assume one of two values corresponding to a +1 or −1 being fed into the tapped delay line at time k.

Thus, given a binary input alphabet {+1,−1} the channel can be in one of 2^(L) states ri, i=1, 2, . . . , 2^(L); corresponding to the 2^(L)2L different possible contents of the delay elements. This set may be denoted by Θ^(h) the set of possible states. Additionally, let Θ^(e) represent the set of possible states of modulation encoder or line encoder or differential encoder.

Let the product space

Ω=Θ^(e)

Θ^(h)

Θ^(τ)

Θ^(h)  (13)

represent the space of all possible states of the system, where

denotes the Cartesian product and N the cardinality of Ω.

Referring now to FIG. 7, the possible evolution of states S^(n)εΩ can thus be described in form of a trellis diagram. An example of such a trellis structure for a 16-state trellis diagram is illustrated in FIG. 7, where there are 16 transitions from each state of the trellis to the other.

The state transitions of the Markov source are governed by the transition probabilities. In which case for the forward and backward log probabilities of the SISO decoder may be defined as follows:

$\begin{matrix} {{{\alpha_{k}(S)} = {\underset{e:{{S^{n}{(e)}} \in \Omega}}{Max}\begin{Bmatrix} {{\alpha_{k - 1}\left( {S^{s}(e)} \right)} + {\prod\limits_{k}\left( {{a(e)};I} \right)} +} \\ {{\prod\limits_{k}\left( {{c(e)};I} \right)} + {\prod\limits_{k}\left( {{c(e)};O} \right)}} \end{Bmatrix}}}{{\beta_{k}(S)} = {\underset{e:{{S^{n}{(e)}} \in \Omega}}{Max}\begin{Bmatrix} {{\beta_{k - 1}\left( {S^{E}(e)} \right)} + {\prod\limits_{k + 1}\left( {{a(e)};I} \right)} +} \\ {{\prod\limits_{k + 1}\left( {{c(e)};I} \right)} + {\prod\limits_{k}\left( {{c(e)};O} \right)}} \end{Bmatrix}}}} & (14) \end{matrix}$

∀k=1, . . . , N, where

Π_(k)(c;I)□ log(P _(k)(c;I)),Π_(k)(a;I)□ log(P _(k)(a;I))

Π_(k)(c;0)□ log(P _(k)(c;O)),Π_(k)(a;0)□ log(P _(k)(a;O))  (15)

This maximization is over all the edges e connected to a state selected from the ensemble of all possible states connected in the trellis. Equation (14) in log domain can be represented as:

$\begin{matrix} {{{\prod\limits_{k}\left( {c;0} \right)} = {{\underset{{e:{c{(e)}}} = c}{Max}\begin{Bmatrix} {{\alpha_{k - 1}\left( {S^{s}(e)} \right)} + {\prod\limits_{k}\left( {{a(e)};I} \right)} +} \\ {\beta_{k}\left( {S^{E}(e)} \right)} \end{Bmatrix}} + h_{c}}}{{\prod\limits_{k}\left( {a;0} \right)} = {{\underset{{e:{a{(e)}}} = a}{Max}\begin{Bmatrix} {{\alpha_{k - 1}\left( {S^{s}(e)} \right)} + {\prod\limits_{k}\left( {{c(e)};I} \right)} +} \\ {\beta_{k}\left( {S^{E}(e)} \right)} \end{Bmatrix}} + h_{u}}}} & (16) \end{matrix}$

and initial values

$\begin{matrix} {{\alpha_{0}(S)} = \left\{ {\begin{matrix} 0 & {s = S_{0}} \\ {- \infty} & {Otherwise} \end{matrix},{{\beta_{n}(S)} = \left\{ \begin{matrix} 0 & {s = S_{n}} \\ {- \infty} & {Otherwise} \end{matrix} \right.}} \right.} & (17) \end{matrix}$

The quantities h_(c) and h_(u) are normalization constants to limit the range of the numerical values of α and β. The set of states Ξ={S₁, S₂, . . . , S_(n)} and edges E={e₁, e₂, . . . , e_(k)} represent all possible transitions between the trellis states. S^(s)(e) denotes all the starting states for the transition eεE to the ending state S^(E)(e) with input symbol a(e) corresponding to the output symbol c(e).

Referring now to FIG. 8 a, the operation for computation of α_(k) and β_(k) for the binary case is illustrated in FIG. 8 a, i.e., two transitions to traverse from state S_(k) to S_(k+1). In each iteration, the forward and backward log probabilities may be computed by considering the Trellis structure in FIG. 8 a, that is

α_(k)=max(α_(i) +m _(ik),α_(j) +m _(jk))

β_(i)=max(β_(k) +m _(ik),β_(l) +m _(il))  (18)

In order to compute the extrinsic information for each bit as shown in FIG. 8 b, the input bit sequence may simply be written as:

$\begin{matrix} {{\prod\limits_{k}\left( {a;0} \right)} = {{\underset{\underset{{->a} = 1}{Alledges}}{Max}\left\{ {\alpha + m + \beta} \right\}} - {\underset{\underset{{->a} = 0}{Alledges}}{Max}\left\{ {\alpha + m + \beta} \right\}}}} & (19) \end{matrix}$

and the extrinsic for the output code is:

$\begin{matrix} {{\prod\limits_{k}\left( {c;0} \right)} = {{\underset{\underset{{->c} = 1}{Alledges}}{Max}\left\{ {\alpha + m + \beta} \right\}} - {\underset{\underset{{->c} = 0}{Alledges}}{Max}\left\{ {\alpha + m + \beta} \right\}}}} & (20) \end{matrix}$

The branch metric m is computed as:

$\begin{matrix} {m = \begin{pmatrix} {{a\; {\Pi \left( {a;I} \right)}} + {c_{1}{\Pi \left( {c_{1};I} \right)}} + \ldots + {c_{r}{\Pi \left( {c_{r};I} \right)}} +} \\ {{\Pi \left( {c_{1};\varphi} \right)} + {\Pi \left( {c_{1};\tau} \right)}} \end{pmatrix}} & (21) \end{matrix}$

where r represents the index to the selected element of channel symbol output of c.

This establishes the equivalency of the SISO decoder as shown in FIG. 3 and computation of equations (18) through (21).

Referring now to FIGS. 9 and 9 a, the structure of Single Parity Check (SPC) code is given. The input stream of size M is de-multiplexed in demux 9-6 into blocks of N subsequences of length M/N. Each subsequences optionally are permuted with N interleavers each of size M/N prior to entering MUX 9-8. These “optional” interleavers (e.g., tags) together with interleavers prior to single parity check code can be used to provide security for RFID system. This method provides a highly secure RFID system The N data subsequences as described before are repeated q times and permuted with Nq interleavers. The output of the interleaved blocks are all exclusive OR'ed together in combiner 9-10 to form a single parity check sequence of length M/N which is multiplexed in MUX 9-2 to form a serial output stream. The outputs of multiplexer 9-2 are then fed into the modulation encoder 9-4 (which may be FM0 or Miller code). The interleaver blocks 9-8 in this figure each are designed to preserve the Hamming weight of the input vector at the output of interleaver. The repetition q and the code rate defined in this case as N/(N+1) are design parameters chosen for desired length of the output sequence and coding gain. Presently RFID tag identifiers range anywhere from 24-bits to 2048-bits vectors, that is the output block size of the encoder. The input data U, the input to de-multiplexer 9-6, once encoded forms a vector of length M+M/N.

Referring now to FIG. 9 b, the structure of Single Parity Check (SPC) decoder is illustrated as an RFID channel SIS) Decoder. The soft output stream of size M+M/N from SISO modulation decoder is de-multiplexed in demux 9 b-6 into blocks of N+1 subsequences of length M/N. The first N subsequences deinterleaved through the “optional” N deinterleavers each of size M/N which were used to provide security for RFID system. Knowing these permutation represent secure keys for RFID system, the N soft data subsequences after the “optional” deinterleavers may be repeated q times and permuted with Nq interleavers. The output of the interleaved blocks are all collected together with soft outputs from DEMUX 9 b-2 b for parity bits enter to the SISO single parity check decoder in SISO decoder 9 b-10 to generate soft outputs. The N+1 soft output subsequences from SISO single parity check decoder each of length M/N enters Nq deinterleavers 9 b-8 b. The soft output of deinterleavers enters the SISO repetition decoder. The output of the repetition decoder enter the “optional” interleavers. The output of the “optional” interleaver, together with soft output for parity bits from SISO SPC, are multiplexed in MUX 9 b-2 b to form a serial output stream. The outputs of multiplexer 9 b-2 b are then fed into the SISO modulation decoder 9 b-4 (e.g., FM0 or Miller decoder). This process goes through several iterations. The output and input of SISO for repetition decoder are summed to provide reliability for input subsequences data streams. The N subsequence streams are input to de-multiplexer 9 b-6. The output of the demultiplexed processes are input to hard decision device 9-16 to generate decoded bit stream U. The detailed operation of SISO decoder for repetition code is shown in FIG. 9 c in steps 9 c-10, 9 c-12, 9 c-14, 9 c-16 and 9 c-18. The detailed operation of SISO decoder for SPC is shown in FIG. 9 d in steps 9 d-10, 9 d-12, 9 d-14 and 9 p-16.

Referring now to FIG. 10, coherent SISO receiver 10-10 is disclosed. In this case the extrinsic and intrinsic and branch metrics respectively are represented by the set of equations in equations (18) to (21). Callouts indicate the function of each processing subsystem, the analyzer and equalizer block diagram is shown in 10-6, the estimation block in 10-2 and the detector in 10-4. The input signal may have traversed airspace or a wired infrastructure to reach the receiver, there is no limitation in terms of the transport mechanism into the system. The received signal is de-multiplexed into a parallel stream into a size of the packet or frame used in the communication system. The received signal is then fed to the channel equalizer and interference canceller filter bank in input 10-8. This signal is the rotated via a vector phase rotation (vector complex multiplication) 10-10. The output of 10-10 is used to compute the soft metric values which then feeds the SISO decoder 10-14.

The theory of operation of a coherent SISO decoder may be described as follows: the observed vector 10-50 y is obtained from serial to parallel conversion 10-52 of the received signal to form the vector 10-50. The size M indicated in 10-50 is chosen as the length of the samples in the received packet, or for practical consideration, a convenient length for the desired hardware complexity. The signal 10-50 is fed to channel equalizer 10-16 which is composed of a modulated filter bank. The filter bank transfer function is selected for typical deployment scenario to match the propagation environment and use case scenario. The signal from channel equalizer 10-16 is rotated in phase by rotator 10-10 and fed into the correlator and soft metric estimation block 10-12. When channel coding is used, the output of estimation block 10-12 is subtracted from the output of the interleaver as discussed above with regard to FIG. 4 and processing in blocks 4-6 and 4-4. The de-interleaver 10-24 and interleaver block 10-26 are matched to the channel encoder interleaver block used for encoding the data in 9-8, when an optional mode when used. The signal from the de-interleaver 10-24 is fed into the SISO receiver 10-14. After each iteration, the output of the SISO decoder 10-14 is input to the interleaver 10-26 whose output is fed into the channel estimation block 10-36 and to the metric computation block 10-12. The channel estimation block 10-36 decodes the channel impulse response in equation (3) and is used to update the filter bank coefficients in the channel equalizer and interference excision block 10-16. The received vector y 10-50 (also denoted as Y_(k) where the index k denotes the iteration index in 10-30) is also fed into clocks 10-34, 10-28, 10-39 and 10-37. In delay 10-34, the signal is delayed to match the latency required by each iteration as the input data for the channel estimation block. In 10-37 the observed vector is used to detect the preamble sequence and initialize the symbol timing block 10-39. The symbol timing block 10-39 is updated in each iteration from 10-62 which is the same signal as 10-60, which is the output of the SISO decoder. The output of the symbol timing block 10-39 produces a square wave output 10-35 which is used a reference symbol clock source throughout the system. If there is a residual carrier in the waveform, as in some RFID standards, tracking loop 10-46 is used to extract the CW and compute the phase offset from the ideal carrier frequency in carrier offset block 10-38. If a subcarrier is used, as in some RFID standards, the output of carrier offset block 10-38 is further enhanced by estimating an additional phase offset term from the subcarrier phase, by performing fine frequency tracking in 10-42 and by computing the phase offset in phase offset block 10-44. The frequency estimate from fine frequency block 10-42 may also be fed back to FFT 10-18 to update the spectral estimate of the signal for the next iteration.

In an optional mode, it may be desirable to additionally also perform frequency domain equalization in each iteration of the SISO decoder as shown in detector 10-4. This functionality may be enabled in the presence of fast frequency fading channels in which the signal may suffer fast fades during a single symbol interval. In an RFID system, these may be caused by conveyor belts, fast moving tunnel highways or moving vehicles. In this case, the estimated impulse response state may be fed to the equalizer coefficient estimation block that feeds the FFT block to compensate for fading and multipath effects.

Referring now to FIG. 11, non-coherent SISO receiver 11-10 is disclosed. The operation of all the computational blocks, namely, 11-18, 11-20, 11-22, 11,16, 11-10, 11-46, 11-44, 11-42, 11-40, 11-38, 11-36, 11-34, 11-37,11-39, 11-54, 11-46, 11-40, 11-60, 11-62, are the same as in 10-18, 10-20, 10-22, 10,16, 10-10, 10-46, 10-44, 10-42, 10-40, 10-38, 10-36, 10-34, 10-62, 10-37 and 10-39. The channel equalizer and interference canceller 11-16 is similar to the coherent block 10-16, except the input channel estimates may now be based on the non-coherent estimation bock for which the equations are presented below. The key distinction between the coherent and non-coherent versions of the receiver architecture is in the computation of extrinsic information for branch metric computation, and the amount of phase rotation imposed in phase rotator 11-10. The channel equalizer block 11-16 is similar to the coherent case with the exception that estimates for the channel coefficients are derived from the non-coherent SISO detector. The SISO decoder 11-14 uses a similar trellis to that of the coherent case, except the branch metrics computed in 11-12 are based on non-coherent signal detection theory which is essentially phase invariant in presence of random or unknown phase. In each iteration in block 11-12, equation (33) is computed and/or updated based on the previous iteration of the extrinsic information, that is the output from the SISO decoder's last iteration via equation (21).

In a non-coherent case, the received signal (in absence of multipath the symbol c_(k) is denoted simply by x_(k)) may be modeled with random or unknown phase as:

y _(k) =Ax _(k) e ^(jφ) +n _(k)  (22)

In an AWGN channel with n_(k), that is complex zero mean Gaussian noise with variance σ² per dimension, the observed vector's probability distribution function conditioned on a known phase and the transmitted sequence of N symbols is:

$\begin{matrix} {{P\left( {\left. y \middle| x \right.,\phi} \right)} = {o \cdot ^{{- \frac{1}{\sigma^{2}}}{\sum\limits_{n = 1}^{N}{{y_{n} - {{Ax}_{n}^{j\varphi}}}}^{2}}}}} & (23) \end{matrix}$

Where o is a constant and σ is the variance of the noise. After some algebraic manipulation we can write (23) as

$\begin{matrix} {{P\left( {\left. y \middle| x \right.,\phi} \right)} = {{o \cdot ^{{- \frac{A^{2}}{2\sigma^{2}}}{\sum\limits_{n = 1}^{N}{x_{n}}^{2}}}}^{\frac{A}{\sigma^{2}}{{Re}{({\sum\limits_{n = 1}^{N}{y_{n}*x_{n}^{j\varphi}}})}}}}} & (24) \end{matrix}$

Averaging (24) over the uniformly distributed phase over (0, 2 . . . yields:

$\begin{matrix} {{P\left( y \middle| x \right)} = {{o^{\prime} \cdot ^{{- \frac{A^{2}}{\sigma^{2}}}{\sum\limits_{n = 1}^{N}{x_{n}}^{2}}}}{I_{0}\left( {\frac{A}{\sigma^{2}}{{\sum\limits_{n = 1}^{N}{y_{n}*x_{n}}}}} \right)}}} & (25) \end{matrix}$

where I₀(•) represents the modified zero-th order Bessel function.

Recall

$\begin{matrix} {{P\left( {x_{i} = \left. x \middle| y \right.} \right)} = {\frac{1}{P(y)}{\sum\limits_{{x:x_{i}} = x}{{P\left( y \middle| x \right)}{\prod\limits_{l}{P(x)}}}}}} & (26) \end{matrix}$

From (25),

$\begin{matrix} {\frac{P\left( {x_{i} = \left. x \middle| y \right.} \right)}{P\left( {x_{i} = x} \right)} = {o^{''} \cdot {\sum\limits_{{x:x_{i}} = x}{\begin{pmatrix} {^{{- \frac{A^{2}}{2\sigma^{2}}}{\sum\limits_{n = 1}^{N}{x_{n}}^{2}}} \times} \\ {I_{0}\left( {\frac{A}{\sigma^{2}}{{\sum\limits_{n = 1}^{N}{y_{n}*x_{n}}}}} \right)} \end{pmatrix}{\prod\limits_{l \neq i}{P\left( x_{l} \right)}}}}}} & (27) \end{matrix}$

Or equivalently, the extrinsic metric may be approximated in equation (27) as

$\begin{matrix} {{\prod\limits_{i}\left( {{x_{i} = x},0} \right)} \approx {\max\limits_{\underset{i}{{x:x} = x}}\begin{Bmatrix} {{{- \frac{A^{2}}{2\sigma^{2}}}{\sum\limits_{n = 1}^{N}{x_{n}}^{2}}} +} \\ {{\frac{A}{\sigma^{2}}{{\sum\limits_{n = 1}^{N}{y_{n}*x_{n}}}}} +} \\ {\sum\limits_{l \neq i}{\ln \; {p\left( x_{l} \right)}}} \end{Bmatrix}}} & (28) \end{matrix}$

For the special case when x_(n) takes values +1 and −1, then the term

${- \frac{A^{2}}{2\sigma^{2}}}{\sum\limits_{n = 1}^{N}{x_{n}}^{2}}$

can be ignored, since |x_(n)| is constant.

Next consider a Rayleigh fading channel model, where in equation (22), the magnitude A is Rayleigh distributed and the phase is uniformly distributed over (0, 2π) interval. The observed vector's probability distribution function conditioned on a known amplitude and the transmitted sequence of symbols is:

$\begin{matrix} {{P\left( {\left. y \middle| x \right.,A} \right)} = {{o \cdot ^{{- \frac{1}{2\sigma^{2}}}{\sum\limits_{n = 1}^{N}{y_{n}}^{2}}}}^{{- \frac{A^{2}}{2\sigma^{2}}}{\sum\limits_{n = 1}^{N}{x_{n}}^{2}}}^{\frac{2}{2\sigma^{2}}{{Re}{({\sum\limits_{n = 1}^{N}{y_{n}*x_{n}}})}}}}} & (29) \end{matrix}$

Let's assume that the average power of A is σ_(f) ² and taking the expectation with respect to complex random variable A results in P(y|x)=E_(A){P(y|x,A)}.

$\begin{matrix} {{P\left( y \middle| x \right)} = {\int{\int{{o \cdot ^{{{- {\frac{1}{2}{\lbrack{\frac{\sum\limits_{n = 1}^{N}{x_{n}}^{2}}{\sigma^{2}} + \frac{1}{\sigma_{f}^{2}}}\rbrack}}}{A}^{2}} + {\frac{2}{\sigma^{2}}{{Re}{({\sum\limits_{n = 1}^{N}{y_{n}*x_{n}}})}}}}}{A}}}}} & (30) \end{matrix}$

which can be integrated to:

$\begin{matrix} {{P\left( y \middle| x \right)} = {c^{''}\frac{1}{\left\lbrack {\frac{\sum\limits_{n = 1}^{N}{x_{n}}^{2}}{\sigma^{2}} + \frac{1}{\sigma_{f}^{2}}} \right\rbrack}^{\frac{\frac{1}{2}{{\frac{1}{\sigma^{2}}{\sum\limits_{n = 1}^{N}{y_{n}*x_{n}}}}}^{2}}{\lbrack{\frac{\sum\limits_{n = 1}^{N}{x_{n}}^{2}}{\sigma^{2}} + \frac{1}{\sigma_{f}^{2}}}\rbrack}}}} & (31) \end{matrix}$

For obtaining the extrinsic information, from equation (31), the following equation applies

$\begin{matrix} {\frac{P\left( {x_{i} = \left. x \middle| y \right.} \right)}{P\left( {x_{i} = x} \right)} = {c^{''}{\sum\limits_{{x:x_{i}} = x}{\frac{1}{\left\lbrack {\frac{\sum\limits_{n = 1}^{N}{x_{n}}^{2}}{\sigma^{2}} + \frac{1}{\sigma_{f}^{2}}} \right\rbrack}^{\frac{\frac{1}{2}{{\frac{1}{\sigma^{2}}{\sum\limits_{n = 1}^{N}{y_{n}*x_{n}}}}}^{2}}{\lbrack{\frac{\sum\limits_{n = 1}^{N}{x_{n}}^{2}}{\sigma^{2}} + \frac{1}{\sigma_{f}^{2}}}\rbrack}}{\prod\limits_{l \neq i}{P\left( x_{l} \right)}}}}}} & (32) \end{matrix}$

which after some algebraic manipulation can be simplified to:

$\begin{matrix} {{\prod\limits_{i}\left( {x_{i},0} \right)} = {\underset{{x:x_{i}} = x}{Max}\begin{Bmatrix} {{- {\ln\left\lbrack {\frac{\sum\limits_{n = 1}^{N}{x_{n}}^{2}}{\sigma^{2}} + \frac{1}{\sigma_{f}^{2}}} \right\rbrack}} +} \\ {\frac{1}{2}\frac{\frac{1}{2}{{\frac{1}{\sigma^{2}}{\sum\limits_{n = 1}^{N}{y_{n}*x_{n}}}}}^{2}}{\left\lbrack {\frac{\sum\limits_{n = 1}^{N}{x_{n}}^{2}}{\sigma^{2}} + \frac{1}{\sigma_{f}^{2}}} \right\rbrack +}} \\ {\sum\limits_{l \neq i}{\ln \; {P\left( x_{l} \right)}}} \end{Bmatrix}}} & (33) \end{matrix}$

It should be noted that Π_(i)(x_(i),0) is defined as ln p(x_(i))

Referring now to FIGS. 12 a and 12 b, and in particular FIG. 12 b, the operation of an iterative cascaded SISO receiver, with non-coherent and coherent models as described earlier, may be as follows:

Received vector y_(k) may be initially iterated in the non-coherent SISO receiver until the stopping rule for minimizing the sequence error probability is satisfied. The output of the non-coherent receiver for the estimated symbol sequence, timing, phase and channel response may then used for the initial estimate of these sequences in the subsequent coherent SISO receiver. The SISO decoder of 12-14 and 12-2 are essentially same decoders, except the SISO decoder 12-12 receives its input branch metrics from extrinsic information from the non-coherent SISO decoder 12-6.

Coherent SISO receiver system 12-10 is shown in FIG. 12 a in which a received signal is applied to branch metric generator 12-12 which computes the branch metric m_(ik) in equation (18). These branch metrics are computed for each transition for each state of the trellis from one-to-the-other. The branch metrics are input to coherent SISO decoder 12-14. After a sufficient number of iterations (indicated by loop 12-16) in effect minimizing the sequence error probability in each iteration, the decoder slightly improves and reduces the error probability. The switch 12-18 may driven by a fixed or dynamic rule. Typically after five to ten iterations, the SISO decoder output can be sampled and hard quantized. An alternative approach would be to monitor the dynamic range of the extrinsic values and when the values reach steady state (no longer changing or arbitrarily small change), the SISO decoder may be stopped and the output may be hard limited in block 12-20 and decoded.

Referring now to FIG. 12 b, cascaded non-coherent and coherent SISO receiver system 12-22 is depicted in which the received signal is used by the branch metric generator 12-8 to output the metric values to the non-coherent SISO decoder 12-6. The difference between 12-2 and 12-8 is that the branch metric values for the non-coherent case are computed by considering the distribution of phase to be random, where in the coherent case the phase is assumed to be known. After a sufficient number of iterations (as shown by loop 12-24), the output of the non-coherent SISO decoder 12-6 is sampled by sample switch 12-26 and applied to coherent SISO decoder 12-12. After a sufficient number of iterations (as shown by sample loop 12-28), the output is applied by sample switch 12-30 to hard limiter 12-4 and then provided to the data user which in RFID application is the protocol layer-2 embedded in the reader system. An option for the stopping rule to close the switches 12-26, 12-28 and 12-30 is to monitor the rate of growth of the accumulated forward and backward metrics in equation (14) in each SISO decoder, and then stop the iteration when the difference between successive iterations is arbitrarily small for all the states in the Trellis.

Referring now to FIG. 13 a, an implementation of RFID system 13-10 is shown in which plurality of inventory items, such as items 13-7, each of which may include a passive RFID tags 13-6. The reader/interrogator 13-1 emanates a signal to RFID tags 13-6 to respond with their respective identification code referred to as “electronic product codes” (EPC). The RFID tags 13-6 subsequently respond to signals generated by reader 13-1 by backscattering the received signal with their respective EPCs. The signal may be corrupted by multipath 13-4 from the flooring the walls and moving and fixed obstacles 13-8.

Referring now to FIG. 13 b, reader/interrogator 13-1 includes transmitter-antenna subsystem 13-24 which is modulated by data from data source system 13-36 applied to modulation encoder 13-15 and transmits encoded RF signals to RFID tags 13-7. Alternatively, outer coder 13-28, interleaver 13-48 and/or single parity coder 13-50 may be inserted between data source 13-36 and encoder 13-52 in appropriate implementations.

Reader interrogator 13-1 also includes receiver 13-28 which receives reflected signals from RFID tags 7 and applies them to receiver system 13-30 for detection and decoding. The output of receiver system 13-30 provides data to a system user. Various obstacles, including sources of interference and multi-path reflection such as stationary and moving objects 13-8 may be in the path of the transmitted and/or received signals.

System 13-10 may, for example, be deployed in a department store in which items in cases of items with RFID tags 13-6 are displayed for sale. Moving and stationary objects 13-8 may represent shoppers and store personnel moving during the day across the transmission and reception paths as well as relatively stationary objects such as one or more potential reflectors, e.g., including advertising displays or other racks of may be moved or changed on a less frequent basis. System 13-10 may be deployed in order to keep track of inventory items, for example, to detect and prevent attempted shoplifting and/or for other reasons related to inventory control by providing data from reader interrogator 13-1 to a user.

Data source system 13-12 includes data source 13-36 which provides a command or an EPC to the RFID tag 13-7. Channel coding techniques may be used to improve the overall system performance. In the event channel coding is employed, the electronic product code stored in RFID tag 7 is used as the input. The data source may embed the Electronic Product Code (EPC) in pre-coded format by using outer coder 13-38, interleaver 13-48 and single parity coder 13-50 at the time that the stored data is written into the RFID tag. In that event, the model of data source 13-36 simplifies to a table look-up for EPC which, in the case of passive RFID tags, is backscattered (or transmitted) to the interrogator or the RFID reader. It is also noted that it is possible to compress the EPC code in the interrogator prior to application of channel coding, using simple hashing method to decrease the length of the information sequence. Thus, the additional storage in the RFID tag is used to store the resulting parity bits. For example, for a 32-bit EPC code, the sequence can be hashed into a 16-bit code by the interrogator in which case the effective coding rate would be rate one-half, and the remaining 16-bit is used as a parity check sequence. The channel coding method may be used for protection against channel error. The code shown in FIG. 9 is a repetition code in which each data bit is repeated with a fixed number of multiplicity. The number of repetitions of each input bit is a design parameter which determines the overall coding rate of the system. The interleaver 13-48 serves to permutate the encoded data from the outer code output 13-38, such that the Hamming distance of the input sequence is preserved and the output is applied to single parity coder 13-50 and described earlier in FIG. 9. The output of which is applied to modulation encoder 13-52. The modulator may use various modulation techniques and waveforms defined by various RFID tag or sensory standardization bodies. System 13-10 is applicable to any modulation technique or waveform. That is, modulation encoder 13-52 can be amplitude shift keying (ASK), on-off keying (OOK), frequency modulation (FM) and other modulation schemes without any loss of generality in applying the receiver subsystem in 13-30.

RFID tags 13-7 operate to backscatter or actively transmit the embedded information sequence to the reader or the interrogator to produce the signals received in equation (2). Stationary and moving obstacles 13-8 may cause interference between the signals reflected by one or more of the RFID tags 13-7. The signals received by receiver 13-30 may therefore include channel interference, multi-path reflections and other effects which make detection and discrimination between RFID tags 13-7 difficult with very low signal levels. Additional anomalies may also be present in the communication channel. In an in-door environment such as warehouses, factories and malls substantial scattering due multipath and man-made interference (e.g., drill noise, cordless phones) or natural interferences (e.g., ceiling lighting) may also be present. In an outdoor environment interference and multipath effects may also be present in addition to signal blockage due to foliage and weather effects due to humidity or rain. These channel anomalies and interferences may all be handled by receiver system 13-30.

Receiver system 13-30 serves to detect and discriminate between RFID tags 13-7 by taking advantage of SISO decoding proposed herein. It is assumed that latency in SISO decoding can be tolerated by the users of the system 13-10 or the processing time in system 13-10 is short for real or near real time detection of motion of individual RFID 13-7. That is, reader/interrogator 13-1 processes the signals received by receiver system 13-30 for a relatively long time and is able to distinguish between transmission channels from different RFID tags by learning the signal characteristics. Furthermore, in warehouse, factory and airport deployment scenarios the RFID tags may be moving at high velocity on conveyor belts or moving vehicles while being manipulated. Reader Interrogator 13-1 also compensates for effect of moving RFID tags on the characteristic of the received signal. That is the system 13-10 can tolerate a high level of Doppler shift and still achieve high performance in detection of signals from RFID tags.

Receiver system 13-30 also provides a frequency signal to receiver 13-28 to adjust the transmitted frequency. This frequency adjustment provides a mechanism to both track and adopt the frequency channel used to read and write information into the RFID tag and also support optional waveforms which employ frequency hopping techniques as defined by RFID Standardization Bodies (e.g., ISO, EPC Global).

Receiver system 13-30 processes the received signals in channel equalizer and interference canceller 13-54 which is realized by a bank of adaptive linear phase filter banks with the objective of maximizing the received signal power and minimizing the effect of interference by excision. That is, the frequency response of the filter bank is designed to eliminate narrow band interference while maximizing the signal-to-noise ratios received from the RFID tag. The output of channel equalizer and interference canceller 13-56 is applied to rotator 13-58 which appropriately adjust the phase of the incoming signal in real-time to track the phase of the incoming signal and compensate for the effect of motion, Doppler and phase noise due to imperfection in the environment.

The output of rotator 13-56 is applied to SISO processor 13-58, which includes SISO decoder 13-60, and which serves to input into the soft metric calculator which calculates the intrinsic metric values associated with each transition from one state of trellis structure to the other state (or Bi-partite graph). The output of SISO processor 13-58 is applied to phase, channel and frequency estimator 13-62 which serves to provide an instantaneous phase and frequency estimate of the received signal based on the output of the SISO decoder.

One output of phase, channel and frequency estimator 13-62 is applied to rotator 13-56 and provides the reference for phase compensation of the received signal which may have been caused by motion or other anomalies. A second output of phase, channel and frequency estimator 13-62 is applied to channel equalizer and interference canceller 13-54 and provides the adaptation algorithm with the phase and frequency of variables used to compute the channel equalizer and interference canceller coefficients of the Finite Impulse Response Filter.

The output of user system 13-34 is formed by summing the extrinsic and intrinsic information and then hard quantizing the resulting sum. This value constitutes the detected bit stream from the RFID tag. SISO decoder 13-60 in SISO processor 13-58 also includes soft metrics calculator 13-66, de-interleaver 13-64 and interleaver 13-67 when channel coding as discussed earlier is employed.

In operation of system 13-30, both fine and coarse motion of items 13-6 having RFID tags 13-6 can be accurately detected and observed because the SISO decoder in 13-60 simultaneously estimates the channel response, symbol timing and effectively performs open loop phase tracking.

Referring now to FIGS. 14 a and 14 b, the FM0 and Miller codes can also be used in passive RFID applications. In FM0 encoder 1410, user data 14-22 is provided to x-or gate 14-18 the output of which is provided to bit mapper 14-16 as well as to simple delay circuit 14-23. The output of delay 14-23 may be provided as a second input to x-or gate 14-18 as well as to inverter 14-20, the output of which is applied to bit mapper 14-14. The two sequences from bit mappers 14-14 and 14-16 are respectively multiplexed into a single stream in multiplexer 14-12 and each repeated once in repeater 14-21 to provide output data 14-24 which is the FM0 encoded data for use by the modulator. FM0 encoder 1410 may be used as a data source, such as data source 2-2 in FIG. 2 or data source 2-20 in FIG. 2 b.

In Miller encoder 14-60, delay taps 14-44 and 14-36 are used. The combinatorial logic consists of three inverters 14-46, 14-50, 14-52, two or-gates 14-32 and 14-34, and three and-gates 14-42, 14-36 and 14-38. The output sequence of the combinatorial and delay logic is fed into the signal mapping blocks 14-56 and 14-58 which is multiplexed in 14-30 and repeated in 14-57 to form the output data 14-48 for Miller encoded data for use by the modulators.

Referring now to FIG. 15 a, the technique for the coherent detection of FM0 or Miller encoded signal is depicted. The system consists of using the channel data 15-28 and integrating the signal over each symbol period during each half a symbol interval in integrate and dump 15-34 and de-multiplexing the real and imaginary part in demux 15-36 and forming the cross product in step 15-38, taking the real part in block 15-42, hard quantizing the output in quantizer 15-44 and mapping the data into ones and zeros from −1/+1 in data block 15-46. This is the coherent case.

Referring now to FIG. 15 b, a similar operation is performed in non-coherent case in blocks 15-30, 15-32, 15-60, 15-62, 15-64 and 15-52 except only the real part of the signal is used to form the cross product. The output of the non-coherent detector 15-66 and coherent detector is 15-48. N_(s) denotes the number of sample per symbol, i.e., N_(s)=T_(sym)/T_(s) that is the ratio of the symbol time to sampling period.

Referring now to FIG. 15 c, a block diagram of a multiple symbol detector is shown for the non-coherent detection case. Channel data 15-80 is applied to integrate and dump 15-80 and the real part is determined by block 15-76 and demultiplexed in demux 15-74. The output is applied to non-coherent multiple symbol detector 15-70 to provide output 15-72.

Referring now to FIG. 16, multiple symbol non-coherent detector (MSNNonCoh) for FM0 is disclosed. In this example, the non-coherent detection is done over a particular sequence of half symbol observations which starts from middle of data interval rather than beginning of data interval. In passive RFID systems, the presence of CW translates into having a DC component. The received signal with FM0 encoding at time i in presence of DC component is:

y _(1,i)=(x _(1,i) +c)e ^(jφ) +n _(1,i)

i=k−N+2, . . . ,k+1

y _(2,i)=(x _(2,i) +c)e ^(jφ) +n _(2,j)  (33)

where c is a dc component, φ is carrier phase offset (or phase noise). Without loss of generality, it can be assumed that the phase error is constant over duration of a symbol and n_(1,i) and n_(2,i), zero mean complex Gaussian samples with variance •² per dimension. First the dc value c at the receiver can be estimated as:

$\begin{matrix} {\hat{c} = {\frac{1}{N}\left( {\sum\limits_{i = {k - N + 2}}^{k + 1}\left( {y_{2,{i - 1}} + y_{1,i}} \right)} \right)}} & (34) \end{matrix}$

The new observation can be defined as

r _(1,i) =y _(1,i) −ĉ

r _(2,j) =y _(2,j) −ĉ  (35)

Next the Maximum Likelihood (ML) probability of the modified observation can be computed. The particular observations are:

r_(2,k−N+1), r_(1,k−N+2), r_(2,k−N+2), r_(1,k−N+3), . . . , r_(2,k), r_(1,k+1) The conditional probability function can be formulated as:

$\begin{matrix} {{P\left( {\left. r \middle| x \right.,\varphi} \right)} = {{constant}\mspace{14mu} ^{{- \frac{1}{2o^{2}}}{\sum\limits_{i = {k - N + 2}}^{k + 1}{\{{{{r_{2,{i - 1}} - {x_{2,{i - 1}}^{j\varphi}}}}^{2} + {{r_{1,i} - {x_{1,i}^{j\varphi}}}}^{2}}\}}}}}} & (36) \end{matrix}$

Averaging (36) over the carrier phase, the ML function can be approximated with

$\begin{matrix} {{P\left( r \middle| x \right)} \approx {I_{o}\left( {\frac{1}{2o^{2}}{{\sum\limits_{i = {k - N + 2}}^{k + 1}\left\{ {{r_{2,{i - 1}}x_{2,{i - 1}}} + {r_{1,i}x_{1,i}}} \right\}}}} \right)}} & (37) \end{matrix}$

Since the zero order modified Bessel function is a monotonic function, thus the required metric for the decision is:

$\begin{matrix} {{Metric} = {{\sum\limits_{i = {k - N + 2}}^{k + 1}\left( {{r_{2,{i - 1}}x_{2,{i - 1}}} + {r_{1,i}x_{1,i}}} \right)}}} & (38) \end{matrix}$

The key property of FM0 encoder output 14-24 for RFID application is

x _(2,i) =d _(i) x _(2,i−1)

x _(1,i) =−x _(2,i−1)  (39)

Replacing (39) in (38) one gets:

$\begin{matrix} {\mspace{79mu} {{{Metric} = {{\sum\limits_{i = {k - N + 2}}^{k + 1}{\left( {r_{2,{i - 1}} - r_{1,i}} \right)x_{2,{i - 1}}}}}}\mspace{79mu} {or}}} & (40) \\ {\left( {{\hat{d}}_{k},{\hat{d}}_{k - 1},\ldots \mspace{14mu},{\hat{d}}_{k - N}} \right) = {\arg \; {\max\limits_{d_{k},d_{k - 1},\mspace{11mu} \ldots \mspace{14mu},d_{k - N + 2}}{{\left( {r_{2,{k - N + 1}} - r_{1,{k - N + 2}}} \right) + {\sum\limits_{i = {k - N + 3}}^{k + 1}{\left( {r_{2,{i - 1}} - r_{1,i}} \right){\prod\limits_{j = {k - N + 2}}^{i - 1}d_{j}}}}}}}}} & \left( {40a} \right) \end{matrix}$

By expanding the sum for the case of N=3, the optimum decision rule for multiple symbol non coherent detection rule becomes:

$\begin{matrix} {\left( {d_{k},d_{k - 1}} \right) = {\arg \; {\max\limits_{d_{k},d_{k - 1}}{{{\left( {r_{2,{k - 2}} - r_{1,{k - 1}}} \right)d_{k - 1}} + \left( {r_{2,{k - 1}} - r_{1,k}} \right) + {\left( {r_{2,k} - r_{1,{k + 1}}} \right)d_{k}}}}}}} & (41) \end{matrix}$

In step 15-70, equation (41) is realized and the maximization implemented over all possible data symbols d_(k)ε{+1,−1}. Note that this metric is independent of dc offset and can be used even without using (39).

Referring now to FIG. 16, the Trellis diagrams from the encoder structure of FIG. 14 is shown in trellis 16-2 for FM0 and in trellis 16-4 for Miller code. These Trellis diagrams are used for the SISO decoder for application of passive RFID tag standards which employ these encoding techniques. In the presence of random phase and timing, the Trellis diagram may be too large and impractical to be illustrated graphically. That is due to the large number of states and transitions (e.g., 2000 states and 20 transitions per state) which depends on the choice of the cardinality of the sets in equations (10) and (12).

Referring now to FIG. 17, the performance of detectors in FIGS. 15 a, 15 b and 15 c are compared. The theoretical performance of coherent and non-coherent detector over AWGN are also depicted with solid lines and the performance of multiple symbol non-coherent MSNC is simulated and shown by small triangles. It is noted that the performance of the symbol non-coherent detector outperforms the classical non-coherent detector by a factor of 3.5 dB.

In SISO decoder 4-2 a long sequence, typically a packet or a frame, is processed at a time. Hence, the performance is still even superior to that of symbol non-coherent detection in which the Maximum Likelihood detector is considering only three symbols. In applications for system 13-10 are for RFID tag standards in which the tag protocol is amenable to longer latency which results from the SISO decoding. Typical applications of multiple symbol non-coherent detector 15-70 are when the RFID standard requires very strict timing requirements between the tag-to-reader and reader-to-tag packet inter-arrival time. These tight timings requirements typically occur when acknowledgement or replies are required from the reader to the RFID tag or vice versa. In certain circumstances and for certain RFID tag standards, it is also possible to employ both systems 13-10 and 15-70 so that for certain packets types which the system 15-70 is used and system 13-10 may be used for other timing critical packets. Specifically, when detecting the product code itself from the received packet, SISO decoding in 13-10 may be used, but for other packet types which are short replies and handshake, system 15-70 may be used.

Referring now to FIGS. 18 and 19, a typical problem for many digital communication systems is that the baud rate is fixed, i.e., the transmitted pulse duration is fixed. In sensor networks and RFID systems in particular, the transmitted pulses from the tag can change in duration from symbol to symbol. Thus at the reader's receiver, the duration of pulses or the instantaneous time varying baud rate should be tracked. In order to track timing for such applications, a timing trellis may be used.

Assume that the time axis is sampled at time instants iTs, where 1/Ts represent the sampling rate. The sampling points at the output of matched filter are depicted by bullets “•” on the time axis in FIG. 19-10. There may be N samples per nominal baud interval. Thus the nominal symbol duration would be T₊=NTs, where T is the nominal symbol duration. Assume the symbol duration from symbol to symbol can increase (as a result for example of changing channel characteristics) by one sample to T−=(N+1)Ts with probability p, or no change T=NTs with probability (1-2p), or can decrease by one sample to T=(N−1)Ts with probability p.

Each interval has N tick marks that denote possible positions (in multiples of Ts), where a sample can be taken at the output of the matched filter. From FIG. 19, some intervals have one tick mark as depicted in 19-2, 19-3 and 19-4, some intervals have two tick marks, while some intervals have no tick marks as shown in 19-12. Denote the timing state as Sk which its value corresponds to a tick mark. The state is associated with a time interval ((k−1)T, kT], and can take one of the values in the following set: Sk=s0, s1, . . . , sN, sN+1. State s0 denotes that the kth symbol interval ((k−1)T, kT] is not sampled at all. For example, in FIG. 19, the interval corresponding to Sk=s2 shown in 19-13 is sampled at the second tick from the start of the interval State Sk=si, for 1≦i≦N denotes that the kth symbol interval ((k−1)T, kT is sampled only once at the i-th tick.

Referring now also to FIG. 18, state Sk=sN+1 (for N=8 in FIG. 19) denotes that the kth symbol interval ((k−1)T, kT] is sampled twice. The only way an interval can be sampled twice is if it is sampled at the first and Nth ticks, since we only allowed maximum of one sample variation from symbol to symbol. The constraints prevent any other way of two samples falling in the same interval. There are some restrictions on how the sampling-states Sk can evolve. To represent all valid sampling-state transitions, we form a timing trellis, depicted in FIG. 18. To a branch in the timing trellis, we associate a transition probability Pr(Sk|Sk−1). The transition probabilities can be computed based on parameter p. A key feature of the timing trellis in FIG. 18 is that the branches in the trellis carry a variable number of samples. We will denote the vector of samples taken in the timing interval ((k−1)T, kT] by r k. Note that r k could be an empty vector if no sample is taken in the kth symbol interval.

The timing trellis has N+2 states. The present state S_(k−1) i.e., S₀ through S₉ (18-12) and next states S_(k) i.e., states S₀ (18-14) through (18-16) are shown in FIG. 18. Let's assume N=8 for clarification and rectangular NRZ pulses. For symbols with nominal duration of 8 samples, the matched filter sums the recent 8 samples. To transition from state S₀ to state 1, the matched filter sums nine recent samples and produces observation rk. To transition from state S₀ to state 9, the matched filter sums nine recent samples and produces observation r_(k), and the next seven samples to produce observation rk+1 corresponding to data ak and ak+1 respectively. Each state also should store the most recent index of observation sample. The branch metric per edge of trellis requires variable number of samples. Denote the index of observation sample to state S_(k−1) at time k−1 by q_(i), then the number of samples required to compute the edge branch metric are q_(i)+N(s_(i),s_(j)) samples. Where N(s_(i),s_(j)) represent the number of samples required to compute the branch metric from present state S_(k−1)=s_(i) to next state S_(k−1)=s_(j), For N=8:

N(s0,s1)=9 N(s0,s9)=9+7 N(s1,s1)=8 N(s1,s2)=9 N(s1,s9)=8+7 N(s2,s1)=7 N(s2,s2)=8 N(s2,s3)=9 N(s2,s9)=7+7 N(s2+i,s2+i−1)=7 for i=1, 2, 3, 4, 5 N(s2+i,s2+i)=8 for i=1, 2, 3, 4, 5 N(s2+i,s2+i+1)=9 for i=1, 2, 3, 4, 5 N(s8,s0)=no samples N(s8,s7)=7 N(s8,s8)=8 N(s9,s0)=no samples N(s9,s7)=7 N(s9,s8)=8

Referring now to FIG. 20, a folded timing trellis is similar to the method shown in FIGS. 18 and 19, except the number states are less and number of transitions per state is fixed number for all timing states. The time axis may be sampled at time instants iTs, where 1/Ts represent the sampling rate. The sampling points at the output of matched filter (end of actual symbol time duration) are depicted by bullets “•” on the time axis in FIG. 19-10. Assume there are N samples per nominal baud interval. Thus the nominal symbol duration is T₊=NTs, where T is the nominal symbol duration. Assume the symbol duration from symbol to symbol can increase by one sample to T−=(N+1)Ts with probability p, or no change T=NTs with probability (1-2p), or can decrease by one sample to T=(N−1)Ts with probability p.

Each interval has N tick marks that denote possible positions (in multiples of Ts), where a sample can be taken at the output of the matched filter. The state is associated with a time interval ((k−1)T, kT], and can take one of the values in the following set: Sk=s1, . . . , sN. State Sk=si, for 1≦i≦N denotes that the kth symbol interval ((k−1)T, kT] is sampled at the i-th tick from the beginning of the interval. There are some restrictions on how the sampling-states Sk can evolve. To represent all valid sampling-state transitions, a timing trellis may be formed as depicted in FIG. 20. To a branch in the timing trellis, a probability Pr(Sk|Sk−1) can be assigned to a transition. The transition probabilities can be computed based on parameter p. A key feature of the timing trellis in FIG. 20 is that the branches in the trellis carry a variable number of samples. The vector of samples taken in the timing interval ((k−1)T, kT] can be denoted by r k.

The timing trellis has N states. Let's assume N=8 for clarification. The present states S_(k−1) i.e., S₁ (20-10) through S₈ (20-12) and next states S_(k) i.e., states S₁ (20-14) through (20-16) are shown in FIG. 20. Also assume rectangular pulses. For symbols with nominal duration of 8 samples, the matched filter sums the recent 8 samples if there is a transition from present state Si to the next state Si for i=1, 2, . . . , N (for the example in FIG. 20, N=8). For symbols with nominal duration of 8 samples, the matched filter sums the recent 9 samples if there is a transition from present state Si to the next state Si+1 for i=2, 3, . . . , N, and S1 to S8 (for the example in FIG. 20, N=8). For symbols with nominal duration of 8 samples, the matched filter sums the recent 7 samples if there is a transition from present state Si to the next state Si−1 for i=1, 2, . . . , N−1, and from present state SN to S1 (for the example in FIG. 20, N=8). Each state also should store the most recent index of observation sample to compute the branch metric for the next trellis section. Thus, the branch metric per edge of trellis requires variable number of samples. Denote the index of observation sample to state S_(k−1) at time k−1 by q_(i), then the number of samples required to compute the edge branch metric are q_(i)+N(s_(i),s_(j)) samples. Where N(s_(i),s_(j)) represent the number of samples required to compute the branch metric from present state S_(k−1)=s_(i) to next state S_(k−1)=s_(j), For N=8:

N(s1,s2)=7 N(s1,s1)=8 N(s1,s8)=9

N(si,si−1)=7 for i=1, 2, 3, 4, 5, 6, 7 N(si,si)=8 for i=1, 2, 3, 4, 5, 6, 7, 8 N(si,si+1)=9 for i=2, 3, 4, 5, 6, 7, 8

N(s8,s1)=7 N(s8,s8)=8 N(s8,s7)=9

Referring now to FIGS. 21 and 22, the symbol timing tree structure is based on a nominal value of N samples per symbol. This means that the granularity of the timing captured will be 1/N×F_(s), where F_(s) is the sampling frequency. The rates may be discussed in the 1/F_(s) domain, meaning that rates will be expressed in percentage of the sample rate, and time in samples. To build a structure that can be integrated into the trellis form, an estimate of the first symbol time must be provided that is accurate to one symbol period (±N/2). If the first symbol time cannot be estimated to this accuracy, a separate synchronization sequence may be required. States are labeled S_(M,i) for the ith state in the Mth stage. In the general case, there may be N starting states, labeled from S_(0,0) to S_(0,N−1). Each state S_(M,t) has 2×Δ_(max)+1 (where Δ_(max) represents the maximum number of samples from symbol duration can exceed from nominal symbol duration) transitions leading to consecutive states starting at S_(M+1,t−Δ) _(max) and ending at S_(M+1,t+Δ) _(max) . To further refine the structure, an a-priori estimate of the maximum timing error (expressed in samples per symbol) of R can be used. If N is nominal number of samples per symbol, then R=rN where r is percentage of timing error. The definition of R becomes Δ_(max)=┌R┐ which is an integer. This limits the states at any given trellis stage M to states starting at up to S_(M,0−└R×M┘) up to S_(M,N−1+┌R×M┐) where ┌x┐ is the ceiling of x (the next higher integer), and └x┘ is the floor of x (the next lower integer). This means that at any stage M the state S_(M,t) corresponds to a symbol that starts at sample time M×N+t. An example of this structure for Δ_(max)=1 and N=4 is shown in FIG. 22.

Referring now to FIG. 23, a second, derived structure involves using the same tree, but windowing it to limit the number of states is shown as the windowed structure in FIG. 23. For the windowed structure, an additional parameter W may be defined as the size of the window into the tree. In this way, only W states at any trellis stage M are kept where the first state index is defined as B_(M) (the base state). In order to find B_(M) at time M+1 the window position may be chosen based on the probability of the states S_(M,B) _(M) through S_(M,B) _(M) _(+Δ) _(max) ⁻¹ compared to S_(M,B) _(M) _(+W−1) down to S_(M,B) _(M) _(+W−Δ) _(max) .

The result may be called a ‘folded’ structure (also simply the ‘trellis’ structure). In this structure there are precisely N states at each stage M. In order to accomplish this, the tree structure may be folded such that state S_(M,t) is mapped into state Z_(M,t%N), where % denotes the modulo operator into positive integers (i.e., (−1) % N=N−1). In order to maintain timing in this structure, each state Z_(M,t) has a mapping value t_(m) that the index of the maximum probability state S_(M,k) that maps into Z_(M,t). At each stage, t_(m), to transitions from the state are determined.

In all of these timing structures, this trellis may be combined with the data trellis and phase trellis to get a combined set of states S_(M,t,φ,D). Each transition out of this state has a triplet of values (Δ_(t),Δ_(φ),b) where Δ_(t) is the timing change and it takes integer values between −Δ_(max) and Δ_(max), i.e., −Δ_(max), Δ_(max)+1, . . . −1, 0, 1, . . . , Δ_(max)−1, Δ_(max), Δ_(φ) is the phase change, and b is the data bit. In the case of any binary waveforms (e.g., FM0 and Miller), the data metric for this state and transition is

${Re}\left\{ {^{- {j{({\varphi + {\Delta\varphi}})}}}{\sum\limits_{i = 0}^{N - 1 + {\Delta \; t}}{c_{D,b,i} \times {r\left( {{M \times N} + t} \right)}}}} \right\}$

where c_(D,b,i)=d_(D,b,k)×(1−off)+d_(D,b,k+1)×off and d_(D,b,k) is an ideal symbol at the nominal sample rate, where

$k = \left\lfloor {i \times \frac{N + {\Delta \; t}}{N}} \right\rfloor$ and ${off} = {\left( {i \times \frac{N + {\Delta \; t}}{N}} \right) - {k.}}$

Note that for the ‘folded’ version, t_(m) is used in place of t.

In order to capture the timing information with symbol timing that can drift over time, another natural structure of the timing state diagram is a tree structure such as shown in 21-2 where the root node is extended. Assume the nominal timing is N samples per symbol. This means that the granularity of the timing captured from the tree structure will be 1/N. In order to improve the performance of the trellis, this can be limited to an arbitrary rate R. To do this, the states that would fall outside the bounds of the expected drift are eliminated. If the states are numbered for the first stage of the trellis as S₀ to S_(N−1) for the first stage, the second stage would be numbered S_(0−Δ) _(max) to S_(N+Δmax) and for stage M they would be S_(0−M×Δ) _(max) to S_(N+M×Δmax). For this Mth stage the states S_(0−M×Δ) _(max) up to but not including S_(0−┌R×M┐) would be elided and also states above S_(N−1+┌R×M┐). Each state in this structure has a T_(s) associated with it that is M×N+i for state S_(i) at time M.

In order to reduce the complexity of the structure, either a ‘folded’ tree or a ‘windowed’ tree can be used. The ‘folded’ tree is a tree where node S_(i) is mapped to S_((i+N)%N) and the T_(s) associated with the node is the T_(s) associated with the maximum state value between the mapped states. This means that the transitions become symmetric as in a true trellis, but the transitions carry both a metric and a time with them. In a ‘windowed’ tree structure, an arbitrarily sized window of states is maintained. This window is selected by comparing the probabilities of the edge states. In the case of a windowed tree, one only needs to keep track of T_(s) for the first state in the window (all other states will be offset linearly from that state). This provides an advantage of smaller storage and simpler implementation.

Combined Metrics for Data and Timing

$\sum\limits_{i = 1}^{N + {\Delta \; t}}{{d_{in}(i)} \times {r\left( {T_{s} + i} \right)}}$

Where

-   -   r(i) is the sample at time i     -   d(i) is the ideal symbol sampled at the sample rate (for the         data state and input data from the trellis)     -   d_(in)(i) is the interpolated version of ideal symbol.     -   T_(s) is the time stored in the state.

$p = \left\lfloor {i \times \frac{N + {\Delta \; t}}{N}} \right\rfloor$ ${off} = {\left( {i \times \frac{N + {\Delta \; t}}{N}} \right) - p}$ d_(in)(i) = d(p) × (1 − off) + d(p + 1) × off

An example for is given for the case of N=4, R=10%, M=4 in 22-2 and 22-4.

Referring now to FIG. 24, a SISO decoder can be viewed as consisting of four consecutive operations:

-   -   1) data metric generation and phase rotation     -   2) Branch metric generation and forward node update     -   3) Backward pass node update     -   4) Extrinsic generation and output

Basically, the decoder structure can be viewed as a trellis of nodes arranged in columns. Each column corresponds to one symbol of the data stream to be decoded. The nodes within the columns represent the possible combinations of the relevant parameters for the symbol; in particular, the timing, phase, and symbol states. Each contains a numerical value proportional to the computed probability of the parameters which it represents. For FM0, one can use 512 nodes per column corresponding to the combinations of the 16 possible (quantized) phase states, the 16 possible timing states, and the two possible symbol values (0 and 1). The decoder operates by estimating the probability of each node's combination of parameters using metrics derived from the input data. First, probabilities for the nodes within columns are updated in the forward time direction, and then in reverse working backwards through the trellis. When these updates have been completed, the highest computed probability values through the trellis are chosen for the decoded output.

The inputs to the SISO decoder trellis computation are the data metrics which are derived from the sampled input stream. These are complex numbers, derived from S_(i) sample values containing both I and Q components. Although there are a total of twelve data metrics which must be computed for each discrete sample time, N, six of these are simply negatives of the others as selected by D, the current data symbol state. The metrics, M_(N)(Δt,D,d), where Δt={−1,0,+1} for timing change, D={0,1} for current data state, and d={0,1} for the next symbol value, may be computed from intermediate variables A, B, C, D, E, and F where:

A=ΣS_(i), (n≦i≦n+7)=sum of 8 samples starting at time n B=ΣS_(i), (n+8≦i≦n+15)=sum of 8 samples starting at time n+8 C=ΣS_(i), (n≦i≦n+6)=sum of 7 samples starting at time n D=ΣS_(i), (n+8≦i≦n+14)=sum of 7 samples starting at time n+8 E=ΣS_(i), (n≦i≦n+8)=sum of 9 samples starting at time n F=ΣS_(i), (n+9≦i≦n+16)=sum of 8 samples starting at time n+9

Referring now specifically to FIG. 24, the Intermediate Metric Variable Computation is shown. The FM0 data metrics M_(N)(Δt,D,d), can then be derived from the intermediate variables as follows:

-   -   M_(N)(0,0,0)=A_(N)−B_(N)=−M_(N)(0,1,0)     -   M_(N)(1,0,0)=A_(N)−F_(N)=−M_(N)(1,1,0)     -   M_(N)(−1,0,0)=C_(N)−D_(N)=−M_(N)(−1,1,0)     -   M_(N)(0,0,1)=A_(N)+B_(N)=−M_(N)(0,1,1)     -   M_(N)(1,0,1)=E_(N)+F_(N)=−M_(N)(1,1,1)     -   M_(N)(−1,0,1)=A_(N)+D_(N)=−M_(N)(−1,1,1)

Regarding phase rotation, the node update operation does not use the M_(N) directly, but rather uses the real portion of the complex data metric vector as rotated by the interpolated phase, φ, for each trellis branch. The rotated data metric is expressed as R_(N)(φ)=Re[M_(N)*e^(jφ)]. Since there are only sixteen evenly spaced discrete values for the node phase state, the interpolated branch phase can only take on 32 values and the product computation is greatly simplified. This is shown in the table below. Due to symmetry, 16 of the values are simply derived by negation of those calculated π radians away. This means that all 32 rotations can be computed using 14 multipliers and 14 adder/subtractors. By sequencing the 6 values for M_(N) as input into the phase rotator block, all 32 rotations of all twelve metrics may be computed in real-time at the sample rate. The outputs are fed to the node processors for branch metric computation where they are added or subtracted as needed.

Regarding backwards pass data metric storage and sequencing, the rotated data metrics must also be fed to the node update mechanism for the backwards node update pass. This requires either storage of the values computed for the forward pass, or else regeneration from either the data or data metrics. In either case storage memory is necessary. Using a 256-bit packet for purposes of illustration, storage of the rotated data metrics would require: 16×6×16×256=393,216 (16-bit) words of storage. At the other extreme, storage of the interpolated input data stream would require only 2×16×256=8192 words of storage. While storing the interpolated data alone would save substantial memory, it requires that the metric generation shift-register (as shown above) be run in the reverse direction (from right-to-left), with the stored data fed to it reversed in time, in order to derive the data metrics for the backwards pass. The data resurrected data metric values must then be fed to the phase rotator as before. The R_(N)(φ) outputs must, however, be resequenced for presentation to the node processors. Recall that for the data metrics, M_(N)(Δt,D,d)=−M_(N)(Δt,˜D,d). This allowed the nodes with D=1 during the forward update pass simply to be fed the negatives of the R_(N)(φ)'s for their D=0 counterparts. During the backwards pass, however, we are indexing the node processors by d instead of D since our source nodes are now later in time. Consequently, the M_(N)(Δt,D,d) are no longer the arithmetic complements for d=0 vs. d=1; and instead the proper R_(N)(φ) must be stored, sequenced, and fed to the node processors.

Regarding branch metric generation and node updating, the branch metrics, B_(XY), where X is the originating node within symbol column C, and Y the destination node in column C+1, are calculated as

B _(XY) =d*S _(C) +R _(N)(φ,Δt,D,d)+U(φ),+V(Δt)

Where

d=the destination data state (i.e., input data bit value)

S_(C)=Soft input value for column C

R_(N) (φ,Δt,D,d)=Re[M_(N)(Δt,D,d)*e^(jφ)], the rotated data metric

U(Δφ)=one value for Δφ=0, another for Δφ=+1,−1

V(Δt)=one value for Δt=0, another for Δt=+1,−1

For FM0, there are 18 branches out of each source node, corresponding to the 3 values for Δφ, times the 3 values for Δt, times 2 values for d. Accordingly there are also 18 branches into each destination node. To update the probability score, Q_(Y), for a destination node, the Q_(X) from the source node is added to the branch metric for all input branches leading directly to node Y. The value for the branch with the greatest sum is then selected and stored for Q_(Y). The associated sample time value, T_(Y), must also be stored, where T_(Y)=T_(X)+16+Δt (or for reverse updates: T_(Y)=T_(X)−16−Δt), and T_(X) is the stored time value from the source node for the selected branch.

Table for Phase Rotation Data Metric M_(N) = x + jy a = cos(π/8), b = sin(π/8) c = sin(π/4) = cos(π/4) d = cos(π/16), e = sin(π/16) f = cos(3π/16), g = sin(3π/16) Angle e^(jφ) e^(jφ) Real Part of θ Real Part Imaginary Part Metric Product 0 1 0   x  π/16 d e   dx − by  π/8 a b   ax − by  3π/16 f g   fx − gy  π/4 c c   cx − cy  5π/16 g f   gx − fy 3π/8 b a   bx − ay  7π/16 e d   ex − dy  π/2 0 1 −y  9π/16 −e   d −ex − dy 5π/8 −b   a −bx − ay 11π/16 −g   f −gx − fy 3π/4 −c   c −cx − cy 13π/16 −f   g −fx − gy 7π/8 −a   b −ax − by 15π/16 −d   e −dx − gy π −1   0 −x 17π/16 −d   −e   −dx + ey 9π/8 −a   −b   −ax + by 19π/16 −f   −g   −fx + gy 5π/4 −c   −c   −cx + cy 21π/16 −g   −f   −gx + fy 11π/8  −b   −a   −bx + ay 23π/16 −e   −d   −ex + dy 3π/2 0 −1     y 25π/16 e −d     ex + dy 13π/8  b −a     bx + ay 27π/16 g −f     gx + fy 7π/4 c −c     cx + cy 29π/16 f −g     fx + gy 15π/8  a −b     ax + by 31π/16 d −e     dx + ey

Regarding the data-driven update mechanism, the 16 values output from phase rotation for the rotated data metrics, R_(N)=Re[M_(N)*e^(jφ)] for D=0; φ=0, π/8, π/4, 3π/8, 3π/2, 13π/8, 7π/4, and 15π/8, and specified N, d, and Δt; are fed to the node update mechanism. Since the remaining phase angles can also be derived from these 16 simply by negating the corresponding value π radians away; and since the values of the R_(N) for D=1 are also just the negatives of those for D=0; each set of the eight R_(N) values is sufficient for metric generation for the three branches (Δφ=−1, 0, +1) from up to 32 source nodes (all nodes of the specified time state N) in the originating symbol column, C. These R_(N) values may be labeled as negated for specified values of φ and D as R_(NφD). For forward update, the R_(NφD) are fed into 32 node processors. These processors compute the branch metrics B_(XY) and sum them with the stored source node values, Q_(X). The branch sums are passed to 16 branch selection units which compare six input branch values and select the largest for output. Each selection unit corresponds to a specific phase value, φ_(Y). The inputs are then the branches where φ_(Y)=φ_(X)−(Δφ*π/8), including the branches for both d=0 and d=1. The outputs of these selection units then feed back to the two node processors of corresponding phase where they are used to update the stored Q_(Y) value for the destination node. A minimum of ninety-six clocks are required to update each symbol column. For the reverse update direction, the rotated metrics are regenerated starting with the most recent symbol, and proceeding back to the first. The later column nodes (to the right in the trellis) are used for the source values, Q_(X), and the earlier column to the left are now updated as the Q_(Y).

Referring now to FIG. 25, the interconnection of node processors and branch select units are shown. For convenience, upwards arrows to Δφ=+1 for forward updates, −1 for backwards updates. Downwards arrows are for branches with Δφ=−1/+1 for forward/backward updates. Horizontal arrows are for Δφ=0.

Referring now to a source node processor, the proposed implementation consists of 32 node processors, each assigned to a particular data state value (0 or 1), and phase state (0 to 15). One of the eight R_(N) values, or its arithmetic complement, as appropriate, are fed into each node processor corresponding to its assigned data and phase state values. Each processor consists of a node memory, a comparator, and four adders. This structure is shown in the diagram below. The node memory stores two values for each node, the probability score Q, and the time code T. Each processor's node memory contains all trellis nodes for a specific data state, D, and for a specific phase state value, φ. It also contains the storage for the nodes in all trellis symbol columns, C, and for all sixteen time state values, N. For a 256 symbol decoder, 16×256=4096 node storage locations would be required. Local storage can be greatly reduced for large message sizes if paging to external memory is implemented.

The adders function to generate three branch metrics on each clock as the six R_(N)'s are fed in sequentially for each N. Therefore, a minimum of 96 clock cycles are required to update a symbol column. The adders serve to sum the various terms for the branch metric values B_(XY) with the source node value, Q_(X). The value d*S_(C), being global to all processors, is developed externally. The value for V(Δt) is also selected outside and summed with d*S_(C) to be fed to the node processors as an input. Remaining inputs are the symbol column number C, which is concatenated with the timing sample state N to address a particular node within local storage; the rotated metric value R_(NφD), and the two values for U(Δφ).

Referring now to destination node processing, as the R_(NφD)(d,Δt) are fed into the source node processors, sequentially stepping through the six combinations of d and Δt for each sample time N, the B_(XY)+Q_(X) sums are output to the destination nodes for comparison and selection. Since d is fixed at each clock, there are only sixteen destination nodes for the 96 branches generated on each clock. This means there are six potential branches into each destination node at each clock which need to be compared and selected for the maximum. Along with the branch sum, the corresponding time value, T_(X), from the source node for the winning branch must also be selected and stored. Destination processing can be performed by a seven-input maximum selector. The seventh input is used to compare any previous maximum partial results from the three update cycles required to examine all eighteen of the branches into a destination node. The results of each of these sixteen selectors is shared as input to the two node memories sharing the same time state value, N, but one with D=0, and one with D=1. It should be noted that the destination node N_(Y) time-state value is not necessarily the same as the source N_(X) value, but is rather equal to (N_(X)+Δt) modulo 16.

Referring now to time divergence, a possible problem with the basic source node processing as shown in the diagram above lies in the way in which the trellis tracks timing. There are several timing variables of interest. T refers to absolute sample time as numbered sequentially from the first data sample. Each node in the trellis also has a fixed 4-bit timing state value, N, ranging from 0 to 15. This 4-bit value always corresponds to the LS 4-bits of the absolute sample time assigned to that particular node. That assigned T can, however, change within the symbol column depending upon T_(XY) value for the branch selected during node update, where T_(XY)=T_(X)+Δt. This T_(XY) value should therefore be stored in the node when it is updated. When generating the branch metric values, it may be necessary to compare the stored T_(X) for the node with the sample time T_(NφD), as it is possible for the stored T assigned to a node with timing state N, to be different. This means that with the basic architecture of the diagram, multiple passes may be needed to present the rotated data metric for all node T values at a given N, φ, and D in order to generate all of the branch metrics. This is the reason for the equality comparator and the valid line shown in the diagram. In order to increase parallelism and reduce the number of clock passes required, it is highly desirable to present several possible rotated metrics in parallel to the node processor so that branches for varying T's, but with specified N, can be generated simultaneously. Source node processing architecture for multiple parallel T updates is shown below. Since total divergence is limited by the length of the data packet, and since the LS-4 bits are redundant, it is not necessary that all bits of I_(XY) be stored and compared in the node processor. The additional R_(NφD) can be made available by saving the 8 rotated metric values generated for each clock in delay storage of length 96 clocks for each additional R_(NφD)(T) to be presented. This requires four 18K block RAM for every two additional values of T, if the RAM is operated at the same clock rate as the branch metric generator.

Referring now to FIG. 26, the extended parallel source node processing is shown.

Referring now to FIG. 27, the forward and backward processing is shown.

Data Phase Forward Backward φ State State R_(ND)(φ) R_(Nd)(φ) 0 0 0 R_(NX)(0) R_(N0)(0) 0 1 0 −R_(NX)(0) R_(N1)(0)  π/8 0 1 R_(NX)(π/8) R_(N0)(π/8)  π/8 1 1 −R_(NX)(π/8) R_(N1)(π/8)  π/4 0 2 R_(NX)(π/4) R_(N0)(π/4)  π/4 1 2 −R_(NX)(π/4) R_(N1)(π/4) 3π/8 0 3 R_(NX)(3π/8) R_(N0)(3π/8) 3π/8 1 3 −R_(NX)(3π/8) R_(N1)(3π/8)  π/2 0 4 −R_(NX)(3π/2) −R_(N0)(3π/2)  π/2 1 4 R_(NX)(3π/2) −R_(N1)(3π/2) 5π/8 0 5 −R_(NX)(13π/8) −R_(N0)(13π/8) 5π/8 1 5 R_(NX)(13π/8) −R_(N1)(13π/8) 3π/4 0 6 −R_(NX)(7π/4) −R_(N0)(7π/4) 3π/4 1 6 R_(NX)(7π/4) −R_(N1)(7π/4) 7π/8 0 7 −R_(NX)(15π/8) −R_(N0)(15π/8) 7π/8 1 7 R_(NX)(15π/8) −R_(N1)(15π/8) π 0 8 −R_(NX)(0) −R_(N0)(0) π 1 8 R_(NX)(0) −R_(N1)(0) 9π/8 0 9 −R_(NX)(π/8) −R_(N0)(π/8) 9π/8 1 9 R_(NX)(π/8) −R_(N1)(π/8) 5π/4 0 10 −R_(NX)(π/4) −R_(N0)(π/4) 5π/4 1 10 R_(NX)(π/4) −R_(N1)(π/4) 11π/8  0 11 −R_(NX)(3π/8) −R_(N0)(3π/8) 11π/8  1 11 R_(NX)(3π/8) −R_(N1)(3π/8) 3π/2 0 12 R_(NX)(3π/2) R_(N0)(3π/2) 3π/2 1 12 −R_(NX)(3π/2) R_(N1)(3π/2) 13π/8  0 13 R_(NX)(13π/8) R_(N0)(13π/8) 13π/8  1 13 −R_(NX)(13π/8) R_(N1)(13π/8) 7π/4 0 14 R_(NX)(7π/4) R_(N0)(7π/4) 7π/4 1 14 −R_(NX)(7π/4) R_(N1)(7π/4) 15π/8  0 15 R_(NX)(15π/8) R_(N0)(15π/8) 15π/8  1 15 −R_(NX)(15π/8) R_(N1)(15π/8)

Extrinsic generation may be performed as the nodes are updated in the reverse direction. A reliability measure is also computed. The extrinsic is computed as Max(a_(X)+B_(XY)+β_(Y)) over each column.

It is clear to a person having ordinary skill in this art that the techniques described above may be applied to a communication method or system for processing modulated signal with random data, and/or phase and/or unknown timing to estimate received data sequences or packetized data. The receiver may use iterative processing with soft-input-soft-output (SISO) components to combine channel decoding with equalization, demodulation, phase tracking, symbol timing, synchronization and interference cancellation as part or in whole. These techniques may be used for any wireless communication systems to model the observation space. These techniques may be used for sensory receiver system for detecting signals in presence of noise and channel distortion utilizing iterative method to detect the signal. A communication system may use these techniques for maximum likelihood sequence estimation which may include lattice, trellis or tree structures or products thereof for joint estimation of phase, timing, data and/or baud rate. Such techniques may also be used in signal detection systems utilizing iterative methods for optimal detection of the signal in the presence of white noise and channel distortion such as those employing in-door wireless channels, out-door wireless channels, both line-of-sight or non-line of sight communications, wire line channel such as copper and fiber wires, underground or underwater sonar, recording channels such as hard disk storage and both volatile and non-volatile memory and/or combinations of any of these channels.

The disclosed techniques are useful in the detection of packetized data with unknown data pulse duration, random phase and unknown data, any combination or thereof. They are useful in digital packet radio systems employing soft-input-soft-output (SISO) decoding methods with or without cascaded iterative decoder and with or without channel encoding/decoding. These techniques may be used in communication systems employing channel coding methods including algebraic block codes, convolution and turbo codes, low density parity check, repeat-accumulate codes, and product codes cascaded with SISO decoders exchanging extrinsic information to optimally decode the user data. Similarly, these techniques may be used in communication systems employing channel coding including coding which can be represented via planar graph such as bipartite, tree or trellis diagram whereby the posteriori probabilities (extrinsic information) of each state can be computed and iteratively improved. Such communication systems may employing belief propagation method to decode the received sequence and exchange extrinsic information with the soft-input-soft-output decoder. A communication system or packet radio timing synchronization may be provided for any modulation scheme such as multi-level phase, position, amplitude in quadrature and in-phase (one or both). Further, such systems may be embedded in portable or stationary devices, in hubs, central office or network edge devices and may be implemented in software, such as a “Software Defined Radio”, on special purpose or general purpose host computer and offered as a web service or general purpose signal processing platform. 

What is claimed:
 1. A method for operating an RFID receiver, comprising: sampling a received signal including RFID data signals from at least one interrogated RFID tag; providing a set of predetermined probabilities of a received signal sample making a specific transition between data states, each predetermined probability related to data, timing and baud rate variables affecting the received signal; applying the set of predetermined probabilities to each of a plurality of pairs of signal samples to determine probabilities of the received signal having made the specific transitions between each of the signal samples in that pair; and processing the determined probabilities to recover RFID data signals by determining a sequence of transitions in the received signal having the highest probability of occurrence.
 2. The method of claim 1 wherein each of the predetermined probabilities is also related to a phase variable affecting the received signal.
 3. The method of claim 2 wherein the applying the set of predetermined probabilities, and the processing the determined probabilities, are iterated to recover the RFID data signals.
 4. The method of claim 3 wherein the set of predetermined probabilities are related to transitions in a first direction and a second opposite direction, the method further comprising: providing a first set of predetermined probabilities related to transitions in a first direction; applying the first set of predetermined probabilities to each of a plurality of pairs of signal samples to determine first probabilities of the received signal making the specific transitions between each of the signal samples in that pair in the first direction; providing a second set of predetermined probabilities related to transitions in the second opposite direction; and applying the second set of predetermined probabilities to each of the plurality of pairs of signal samples to determine second probabilities of the received signal making the specific transitions between each of the signal samples in that pair in the second opposite direction; and processing the first and second determined probabilities to recover the RFID signals.
 5. The method of claim 4 wherein applying the first and second set of predetermined probabilities, and the processing the first and second determined probabilities, are iterated to recover the RFID data signals.
 6. The method of claim 5 wherein the applying and processing are iterated until further iterations do not further change the first or second determined probabilities. 